local more1__zhonghu = fk.CreateSkill {
  name = "more1__zhonghu",
}

Fk:loadTranslationTable{
  ["more1__zhonghu"] = "韬养",
  [":more1__zhonghu"] = "当你不因使用或打出而失去牌时，你可以摸等量的牌。",

  ["$more1__zhonghu1"] = "",
  ["$more1__zhonghu2"] = "",
}


more1__zhonghu:addEffect(fk.AfterCardsMove, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    if player:hasSkill(more1__zhonghu.name) then
      for _, move in ipairs(data) do
        if move.moveReason ~= fk.ReasonUse and move.moveReason ~= fk.ReasonResponse and move.from == player then
          return true
        end
      end
    end
  end,
  on_use = function(self, event, target, player, data)
    local n = 0
    for _, move in ipairs(data) do
      if move.moveReason ~= fk.ReasonUse and move.moveReason ~= fk.ReasonResponse and move.from == player then
        for _, info in ipairs(move.moveInfo) do
          n = n + 1
        end
      end
    end
    player:drawCards(n, more1__zhonghu.name)
  end,
})















return more1__zhonghu
